package com.newer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-newer-domain-DeliveryOrder")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_delivery_order")
public class DeliveryOrder {
    @TableId(value = "deliveryId", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private String deliveryid;

    @TableField(value = "clientOrderId")
    @ApiModelProperty(value="")
    private String clientorderid;

    @TableField(value = "receivedPrice")
    @ApiModelProperty(value="")
    private Double receivedprice;

    @TableField(value = "collectionPrice")
    @ApiModelProperty(value="")
    private Double collectionprice;

    @TableField(value = "state")
    @ApiModelProperty(value="")
    private String state;

    @TableField(exist = false)
    //客户表
    private ClientOrder clientOrder;
}